package dataservice;

import java.rmi.Remote;
import java.rmi.RemoteException;

import po.MessagePO;

import appendix.ResultMessage;

public interface MessageDataService extends Remote{	
	
	public ResultMessage<?> finds(long id) throws RemoteException;
	
	public void insert(MessagePO po) throws RemoteException;
	
	public void delete(long id) throws RemoteException;

}
